﻿package cn.edu.zjusc.POJO;
import java.text.SimpleDateFormat;
import java.util.Date;

import javax.persistence.*;

@SuppressWarnings("serial")
@Entity
@Table(name="onlineregisternews")
public class OnlineRegisterNews implements java.io.Serializable {
	private int news_id;
	private String news_title;
	private String news_content;
	private Date news_publishTime;
	@Id
	@Column(name="ID")
	public int getNews_id() {
		return news_id;
	}
	public void setNews_id(int news_id) {
		this.news_id = news_id;
	}
	@Column(name="Title")
	public String getNews_title() {
		return news_title;
	}
	public void setNews_title(String news_title) {
		this.news_title = news_title;
	}
	@Column(name="Content")
	public String getNews_content() {
		return news_content;
	}
	public void setNews_content(String news_content) {
		this.news_content = news_content;
	}
	@Column(name="PublishTime")
	public Date getNews_publishTime() {
		return news_publishTime;
	}	
	public void setNews_publishTime(Date news_publishTime) {
		this.news_publishTime = news_publishTime;
	}
	
	
}
